package com.woniuxy.service;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.RbacManagerDTO;
import com.woniuxy.entity.ResponseEntity;


public interface RbacManagerService {

    ResponseEntity findAll( int currentPage,int pageSize);

    ResponseEntity deleteOne(int id);

    ResponseEntity addOne(RbacManager rbacManager);

    ResponseEntity editOne(RbacManager rbacManager);

    RbacManager findOneByName(String username);

    ResponseEntity editType(int id);

    ResponseEntity initPwd(int id);

    ResponseEntity updateRole(RbacManagerDTO rbacManagerDTO);


    ResponseEntity search(int currentPage, int pageSize, String account, String roleName);
}
